export const schema = {
    type: "page",
    title: "订单列表",
    body: {
        type: "crud",
        api: "/api/safe_plan/order",
        columnsTogglable: false,
        filter: {
            title: "",
            submitText: "",
            panelClassName: 'm-b-none bg-gd no-border',
            bodyClassName: 'wrapper-sm',
            mode: "inline",
            controls: [
              {
                type: "text",
                name: "keyword",
                placeholder: "姓名、身份证、订单号",
                style: {minWidth: 260},
                addOn: {
                  type: "submit",
                  label: "搜索",
                  primary: true
                }
              }
            ]
        },
        columns: [
            {
                name: "sn",
                label: "订单号"
            },
            {
                label: "姓名",
                name: "name"
            },
            {
                label: "联系电话",
                name: 'phone'
            },
            {
                label: "保险名称",
                name: 'safe_name'
            },
            {

                label:'投保日期',
                name: 'buy_date'
            },
            {
                label: '投保金额',
                name: 'price'
                
            },
            {
                label: '订单号',
                name: 'insurance_no'
            }
        ]
    }
};
